package org.linlinjava.litemall.wx.vo;

import java.math.BigDecimal;
import java.util.List;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class OrderDTO {

    private List<ProductItem> products;
    private Address address;
    private String paymentMethod;
    private BigDecimal shippingFee;
    private BigDecimal totalAmount;
    private BigDecimal payableAmount;
    // getters and setters

    @Override
    public String toString() {
        return "OrderDTO{" +
                "products=" + products +
                ",\n address=" + address +
                ",\n paymentMethod='" + paymentMethod + '\'' +
                ",\n shippingFee=" + shippingFee +
                ",\n totalAmount=" + totalAmount +
                ",\n payableAmount=" + payableAmount +
                '}';
    }
}
